#define ATOMIC_BARRIER                   \
    __asm __volatile("sync" : : : "memory")


int main()
{
    int Value=10;
    Value+=20;
    ATOMIC_BARRIER;
    Value+=30;
}
